<%-- 
    Document   : edita
    Created on : 27/01/2010, 04:03:22 PM
    Author     : doom
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Edita Materia</title>
    </head>
    <body>
        <h1>Edita materia ${materia.clave}</h1>
        <form method="post" action="<%= request.getContextPath() %>/materia/guarda">
            <input type="hidden" name="id" value="${materia.id}"/>
            <input type="hidden" name="clave" value="${materia.clave}"/>
            <table>
                <tbody>
                    <tr>
                        <td>Clave</td>
                        <td>${materia.clave}</td>
                    </tr>
                    <tr>
                        <td>Nombre</td>
                        <td><input type="text" name="nombre" value="${materia.nombre}"/></td>
                    </tr>
                    <tr>
                        <td>Descripcion</td>
                        <td><input type="text" name="descripcion" value="${materia.descripcion}"/></td>
                    </tr>
                    <tr>
                        <td>Creditos</td>
                        <td><input type="text" name="creditos" value="${materia.creditos}"/></td>
                    </tr>
                    <tr>
                        <td colspan="2"><input type="submit" value="Actualiza materia"/></td>
                    </tr>
                </tbody>
            </table>
        </form>
    </body>
</html>
